<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			let arr = [1, 2, 4, 5, 3];
			let arr1 =arr.splice(1)
			// console.log(arr1);
			let forEachArr = [1];
			forEachArr.forEach((item, index)=>{
				// console.log(item)
			})
			
			let arrZong = [
				{
					id: '1',
					isImport: 0
				},
				{
					id: '2',
					isImport: 0
				},
				{
					id: '3',
					isImport: 0
				}
			]
			let arrs = ['1','2'];
			arrs.map((item, index)=>{
				arrZong.forEach((itemVal, indexVal)=>{
					if(itemVal.id==item ){
						arrZong.splice(indexVal, 1)
					}
				})
			})
			console.log(arrZong)
		</script>
	</body>
</html>
